<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta name="content-type" content="text/html; charset=UTF-8">
  </head>
  
  <script type="text/javascript">
  $(function() {
	  $.ajax({
			cache: false,
			url:"page/selfCenter/selfCenterBottomAd",
			type: "GET",
			data: new Date().getTime(),
			dataType:"json",
		    success: function(data) {
		    	if (data.length != 0) {
					for (var key in data) {
						var $i = $("#"+key+"");
						$i.attr('src', data[key].apPath);
						$i.parent().attr('href', "goods/goodsDetail?id=" + data[key].apGoodNum);
					}	    		
		    	}
		    }
		});
  });
  </script>
  
  <!--底部广告开始-->
    <div class="self_ad">
        <div class="self_ad_long">
        	<a href='' target="_blank" title=''>
            	<img src='' id="0020001"/>
            </a>
            <a href='' target="_blank" title=''>
            	<img src='' id="0020002"/>
            </a>
            <a href='' target="_blank" title=''>
            	<img src='' id="0020003"/>
            </a>
        
            <!-- <a href='<s:property value="#request.ad['0020001'].apUrl"/>' target="_blank" title='<s:property value="#request.ad['0020001'].anAlt"/>'>
            	<img src='<s:property value="#request.ad['0020001'].apPath"/>'/>
            </a>
            <a href='<s:property value="#request.ad['0020002'].apUrl"/>' target="_blank" title='<s:property value="#request.ad['0020002'].anAlt"/>'>
            	<img src='<s:property value="#request.ad['0020002'].apPath"/>'/>
            </a>
            <a href='<s:property value="#request.ad['0020003'].apUrl"/>' target="_blank" title='<s:property value="#request.ad['0020003'].anAlt"/>'>
            	<img src='<s:property value="#request.ad['0020003'].apPath"/>'>
            </a> -->
        </div>
        <div class="self_ad_short">
        	<a href='' target="_blank" title=''>
            	<img src='' id="0020004"/>
            </a>
            <a href='' target="_blank" title=''>
            	<img src='' id="0020005"/>
            </a>
            <a href='' target="_blank" title=''>
            	<img src='' id="0020006"/>
            </a>
            <a href='' target="_blank" title=''>
            	<img src='' id="0020007"/>
            </a>
        </div>
    </div>
    <!--底部广告结束-->
</html>
